<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta property="og:description"
          content="GMAT IELTS TOEFL GRE SAT 小语种登录申友留学帐号 没有账号? 注册 帐号密码登录 快捷登录 记住密码 忘记密码? 登录 获取短信验证码">
    <title>登录页面</title>
    <link rel="stylesheet" href="/cn/css/login.css?v=1.1">
    <link rel="stylesheet" href="/cn/css/style.css">
    <link rel="stylesheet" href="https://file.viplgw.cn/ui/thinku-ielts-new/css/newLogin.css">
    <script type="text/javascript" src="/cn/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/cn/js/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="/cn/js/login.js?v=1.2.2"></script>
<!--    <script src="https://v1.cnzz.com/z_stat.php?id=1280419405&web_id=1280419405"></script>-->
    <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1280419405'%3E%3C/span%3E%3Cscript src='https://s9.cnzz.com/z_stat.php%3Fid%3D1280419405%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
    <script>
        var _czc = _czc || [];
    </script>
    <style>
        #cnzz_stat_icon_1280419405{
            display: none;
        }
    </style>
</head>
<body>
<section class="loginIndex">
    <div class="loginCover">
        <div class="topLogin">
            <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/newLogin/logo@2x.png">
            <span>申友雅思在线</span>
            <span>IELTS</span>
        </div>
        <?php if (!empty($url)) {
            $checkurl = '?source=' . $source . '&url=' . $url;
        } ?>
        <div class="shop-login">

            <ul class="selectWay">
                <li class="on">快捷登录</li>
                <li>密码登录</li>
            </ul>
            <!--快捷登录-->
            <div class="userMessage ordinaryFast">
                <div>
                    <ul class="infro">
                        <!--手机号-->
                        <li>

                            <div class="rightInput">
                                <input class="userPhone" type="text" placeholder="请输入手机号"
                                       datatype="/^[1][3,4,5,6,7,8][0-9]{9}$/ " nullmsg="输入不能为空哦！" errormsg="请输入正确的手机号"
                                       value="<?php echo $userPhone ?>" onkeyup="watch()" onfocus="watch()"  onclick="_czc.push(['_trackEvent','快捷登录','填写手机号','',''])"><br>
                                <span class="Validform_checktip phoneValidform"></span></div>
                        </li>
                    </ul>
                </div>
                <!--动态验证码-->
                <div class="dynamic">
                    <div class="dynamic-left">
                        <input class="loginCodePhone" type="text" placeholder="请输入验证码" nullmsg="   " datatype="*"
                               errormsg="   "
                               onkeypress="javascript:enterFastLogin(event);"  onclick="_czc.push(['_trackEvent','密码登录','填写验证码','',''])"/>
                    </div>
                    <div class="dynamic-right">
                        <button class="phoneCode" disabled="disabled" onclick="sendCode(this)">获取验证码</button>
                    </div>
                </div>
                <p class="phoneTips">未注册的手机号验证后，将自动创建申友网账号</p>
                <p class="agreen"><input type="checkbox" id="agreement" checked><a href="https://ielts.thinkwithu.com/cn/about/privacy?type=1" style="color:inherit">注册即代表同意《申友网用户协议》</a></p>
                <!--登录按钮-->
                <div class="loginBtn" onclick="fastLogin()" id="btn_fast">登录</div>
                <input type="hidden" value="<?php echo isset($_GET['source'])?$_GET['source']:10?>" id="source">
            </div>
            <!--帐号密码登录-->
            <div class="userMessage ordinary">
                <div>
                    <ul class="infro">
                        <!--手机号-->
                        <li>

                            <div class="rightInput">
                                <input class="userName" type="text" placeholder="请输入手机号"
                                       datatype="/^[1][3,4,5,6,7,8][0-9]{9}$/ " nullmsg="输入不能为空哦！" errormsg="请输入正确的手机号"
                                       value="<?php echo $userName ?>" onkeypress="javascript:enterLogin(event);" onclick="_czc.push(['_trackEvent','密码登录','填写手机号','',''])">
                                <span class="Validform_checktip phoneValidform"></span></div>
                        </li>
                        <!--密码-->
                        <li>

                            <div class="rightInput">
                                <input id="password" class="userPass" type="password"
                                       placeholder="请输入密码" errormsg=" "
                                       value="<?php echo $userPass ?>" onkeypress="javascript:enterLogin(event);"
                                       nullmsg="   " onclick="_czc.push(['_trackEvent','密码登录','填写密码','',''])"/>
                                <img src="https://file.viplgw.cn/ui/thinku-ielts-new/images/newLogin/isShow.png"
                                     onclick="showPass(this)" class="showIco">
                                <span class="Validform_checktip"></span>
                            </div>
                        </li>
                    </ul>
                </div>
                <!--动态验证码-->
                <div class="dynamic">
                    <div class="dynamic-left">
                        <input class="loginCode" type="text" placeholder="请输入验证码" nullmsg="   " datatype="*"
                               errormsg="动态密码不能为空！"
                               onkeypress="javascript:enterLogin(event);" onclick="_czc.push(['_trackEvent','密码登录','填写验证码','',''])"/>
                    </div>
                    <div class="dynamic-right" style="bottom: 5px;">
                        <img src="/cn/login/verification-code"
                             onclick="this.src='/cn/login/verification-code?'+Math.random();" alt="验证码"/>
                    </div>
                </div>
                <!--记住密码 忘记密码-->
                <div class="autoLogin">
                    <label onclick="_czc.push(['_trackEvent','密码登录','记住密码','',''])"><input type="checkbox"
                                  id="auto" <?php echo $readSign == 1 ? "checked" : '' ?>><span
                                class="circle"></span><span class="circleWord">记住密码</span></label>
                    <a onclick="_czc.push(['_trackEvent','密码登录','忘记密码','',''])" href="/cn/login/fundpass<?php echo !empty($url) ? $checkurl : ''; ?>">忘记密码?</a>
                </div>
                <!--登录按钮-->
                <div class="loginBtn" onclick="subLogin()" id="btn_sub" style="margin-top: 35px">登录</div>
            </div>

            <div class="loginTitle">
                <p class="titleRight">没有账号? <a href="register.html<?php echo !empty($url) ? $checkurl : ''; ?>" class="regerst">注册</a></p>
            </div>
        </div>

    </div>
    <footer class="foot">
        <!--            <p>友情链接:&nbsp;&nbsp;&nbsp;申友在线 | 雷哥网 | 留学社区 | 新浪微博 | 人人网</p>-->
        <p>Copyright ©2019 All Right Reserved viplgw 版权所有 京ICP备15001182号-1 京公网安备11010802017681 免责声明
            互联网经营许可证号沪B2-20210282 </p>
    </footer>
</section>
<script>
    function showPass(_this) {
        var url = $(_this).attr('src');
        if (url == "https://file.viplgw.cn/ui/thinku-ielts-new/images/newLogin/isShow.png") {
            $(_this).attr('src', 'https://file.viplgw.cn/ui/thinku-ielts-new/images/newLogin/isHide.png');
            $(_this).siblings('input').attr('type', 'text');
            $(_this).css({"width": "27px", "height": "24px"})

        } else {
            $(_this).attr('src', 'https://file.viplgw.cn/ui/thinku-ielts-new/images/newLogin/isShow.png');
            $(_this).css({"width": "28px", "height": "19px"})
            $(_this).siblings('input').attr('type', 'password')

        }
    }
    window.onbeforeunload  = function (e) {
        e = e || window.event;
        // 兼容IE8和Firefox 4之前的版本
        // if (e) {
        //     e.returnValue = '您正在刷新或退出浏览器';
        // }
        // // Chrome, Safari, Firefox 4+, Opera 12+ , IE 9+
        // return '您正在刷新或退出浏览器';
        _czc.push(['_trackEvent','密码登录','关闭页面','',''])
    };
</script>
</body>
</html>
